package com.star.uc.contract.enums.monitor;

import com.star.uc.contract.dto.request.MonitorRequest;

/**
 * 验证码监控枚举
 *
 * @author zhouhengzhe
 * @version 1.0
 * @date 2023/11/17 18:16
 */
public interface CaptchaMonitor {

    /**
     * 监控成功/失败
     *
     * @param  monitorRequest 监控请求
     */
    default void monitor(MonitorRequest monitorRequest) {
    }

    /**
     * 计费
     *
     * @param monitorRequest 监控请求
     */
    default void cost(MonitorRequest monitorRequest) {
    }
}
